package com.aitemv.servlet;

import javax.servlet.ServletException;

import com.aitemv.base.BaseServlet;
import com.aitemv.services.NavigationService;
import com.aitemv.services.impl.NavigationServiceImpl;

/**
 * 初始化系统数据的servlet
 * @author lyvee
 *
 */
@SuppressWarnings("serial")
public class InitiServlet extends BaseServlet {
	
	private NavigationService nagivation;
	@Override
	public void init() throws ServletException {
		System.out.println("---开始系统初始化数据---------");
			System.out.println("---从数据库获取导航条---------");
			nagivation = new NavigationServiceImpl();
			nagivation.queryForMap();
		System.out.println("-------------结束系统初始化数据---------");
	}
	

}
